package com.qf.flashlib.net;

import java.lang.reflect.Method;

/**
 * 2019/3/27 14:48
 */
public class MethodManager {

    private Class<?> param;

    private Method method;

    @NetTypeValue
    private int netType;

    MethodManager(Class<?> param, Method method, @NetTypeValue int netType) {
        this.param = param;
        this.method = method;
        this.netType = netType;
    }

    public Class<?> getTarget() {
        return param;
    }

    public void setTarget(Class<?> target) {
        this.param = target;
    }

    public Method getMethod() {
        return method;
    }

    public void setMethod(Method method) {
        this.method = method;
    }

    public int getNetType() {
        return netType;
    }

    public void setNetType(int netType) {
        this.netType = netType;
    }
}
